home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
netmail
/
tmnice42.zip
/
TSEMACRO.ZIP
/
TMNICE.S
< prev
Wrap
Text File
|
1996-05-26
|
1KB
|
47 lines
/*
TSE Macro for cancelling messages
---------------------------------
Written by Marco Zehe for TMNICE 4.x
This macro creates the TMNICE.CAN semaphore file. Just edit the
EditorParam= line in TMNICE.INI to include the following (example):
EditorParam=-eTMNICE\tmnice -n5
The -e parameter tells TSE which macro to use (no extension necessary),
and the -n parameter lets it jump to line 5 when the message is loaded.
The relative path "TMNICE\" is required because the current directory
when editing a message is the Termail home directory. If you don't like
it, copy TMNICE.MAC to the TERMAIL directory.
Now, you only have to press F3 (unused in the standard TSE
configuration)
to cancel the message. If you need to change the key, change the
statement in < > in the very last line of this file to something like
<CTRL F7> or any other unused key in your configuration. Then press
CTRL-F9 to recompile the macro.
Have fun!
*/
// Just to set Autoindent mode to off, to avoid own text from being
// auto-indented.
Proc Main()
If (Query(Autoindent) == On) Or (Query(Autoindent) ==
_STICKY_)
Set(Autoindent,Off)
EndIf
End
Proc MCancelMSG()
dos("ECHO TMNICE semaphore to cancel a message >TMNICE.CAN",
_DONT_PROMPT_)
End
<F3> MCancelMSG()